<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width,initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv=X-UA-Compatible content="IE=edge,chrome=1">
    <meta content=always name=referrer>
    <link rel="stylesheet" type="text/css" href="__STATIC__/css-wap/swiper.min.css">
    <link rel="stylesheet" type="text/css" href="__STATIC__/css-wap/bootstrap.min.css">
    <link rel="stylesheet" type="text/css" href="__STATIC__/css-wap/style.css">
    <script src="__STATIC__/js-wap/jquery-1.11.3.min.js"></script>
    <script src="__STATIC__/js-wap/swiper.min.js"></script>
    <script src="__STATIC__/js-wap/common.js"></script>
    <title>拍卖详情</title>
    <style>
        img {
            vertical-align: middle;
            width: auto;
            max-width: 100%;
        }
    </style>
    <script>
        $(function () {
            $(".header-lottery ul li").click(
                    function () {
                        $(this).addClass("active").siblings().removeClass("active");
                    }
            )
        })
    </script>
</head>
<body>
<div class="wrap">
    <div class="header-lottery">
        <ul>
            <li class="active"><a href="">拍卖详情</a></li>
            <li ><a href="{:url('mobile/auction/spot',['id'=>$item.id])}">拍卖现场</a></li>
        </ul>
        <a href="javascript:back_url({$item['auction_id']});"><img src="__STATIC__/img-wap/back.png" class="back"></a>
        <!--<a href="#"><img src="__STATIC__/img-wap/share.png" class="share"></a>-->
    </div>
    <div class="lottery-det">
        <img src="/{$item.picUrl}" class="pic-1">
        <div class="title">{$item.title}</div>
        <ul class="det">
            <li>【属性】{$item.attribute}</li>
            <li>【规格】1</li>
            <li>【材质】{$item.material}</li>
            <li>【起拍价】{$item.starting_price}</li>
            <li>【起拍时间】{$start_time|date='Y-m-d H:i:s',###}</li>
        </ul>
        <div class="det-con" style="text-align:left;">{$item.content}</div>
    </div>
</div>
</body>
<script>
    function back_url(uid) {
        var url = sessionStorage.getItem('jump_auction_detail');
        if (url) {
            window.location.href = url;
        }else {
            window.location.href = "{:url('mobile/auction/index')}?id="+uid;
        }


    }
</script>
</html>